﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="StoreCLASSAdd.aspx.cs" Inherits="Add" ValidateRequest="false" %>
<!DOCTYPE html>
<html>
<head>
   <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>50CMS后台框架</title>
    <link rel="shortcut icon" href="favicon.ico">
     <link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="../css/animate.css" rel="stylesheet">
    <link href="../css/style.css?v=4.1.0" rel="stylesheet">
    

        <link href="../50/style.css" rel="stylesheet" />
        <link href="../css/plugins/sweetalert/sweetalert.css" rel="stylesheet" />
    <script src="../Js/plugins/sweetalert/sweetalert.min.js"></script>


</head>
<body class="gray-bg">
<form id="form1" runat="server" class="form-horizontal m-t">
  <div class="wrapper animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
            
                    <div class="ibox-content">
                       <div class="panel-body">
                      <div class="form-group">


                         <div class="col-sm-12" style="margin-top: 1em;">
                            <label class="col-sm-2 control-label">上级分类：</label>
                            <div class="col-sm-6">
                  <asp:DropDownList ID="aClassddl" class="form-control" required="" aria-required="true"   runat="server" >
				</asp:DropDownList>
                            </div>
                        </div>

                         <div class="col-sm-12" style="margin-top: 1em;">
                            <label class="col-sm-2 control-label">分类名称：</label>
                            <div class="col-sm-6">
                               <asp:TextBox ID="txtName" runat="server"  class="form-control" required="" aria-required="true"  
            maxlength="50" HintTitle="分类名称" HintInfo="控制在50个字数内，如“新闻动态”。"></asp:TextBox>
            
                            </div>
                        </div>



<%--                         <div class="col-sm-12" style="margin-top: 1em;">
                            <label class="col-sm-2 control-label">图片：</label>
                            <div class="col-sm-6">
                                <asp:TextBox ID="txtKeyword" runat="server" CssClass="form-control" 
            maxlength="100" HintTitle="Meta关键字" HintInfo="用于搜索引擎，如有多个关健字请用英文的,号分隔。"></asp:TextBox>
                            </div>
                        </div>

                         <div class="col-sm-12" style="margin-top: 1em;">
                            <label class="col-sm-2 control-label">Meta描述：</label>
                            <div class="col-sm-6">
                                 <asp:TextBox ID="txtZhaiyao" runat="server" CssClass="form-control"  
            maxlength="250" HintTitle="Meta描述" 
                    HintInfo="用于搜索引擎，控制在250个字数内" TextMode="MultiLine"></asp:TextBox>
                            </div>
                        </div>--%>

                  
  
                       <div class="form-group" style="margin-top: 2em;">
                            <div class="col-sm-8 col-sm-offset-3" style="margin-top: 2em;">

                                  <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="btn btn-primary" onclick="btnSave_Click" />
  &nbsp;
  <input type="button" class="btn btn-primary" id="btnCancel" value="取消" onclick="javascript:jQuery().colorbox.close();"/>


                            </div>
                        </div>

    <div style="margin-top:10px;text-align:center;">


        </div>
                        </div>
                    </div>
                </div>
            </div>
       
    </div>
        </form>

    
      <!-- 全局js -->
    <script src="../js/jquery.min.js?v=2.1.4"></script>
    <script src="../js/bootstrap.min.js?v=3.3.6"></script>

      <!-- 自定js -->

    <script src="../50/function.js"></script>
    <script type="text/javascript" src="../js/layer/layer.js"></script>
    <script type="text/javascript">
      



                if (typeof (success) != "undefined") {

                    swal({ title: "成功", type: "success", showConfirmButton: false, timer: 2000 }
                        , function () {
                            var index = parent.layer.getFrameIndex(window.name); //获取当前窗体索引
                            parent.layer.close(index); //执行关闭
                        }
                  );
                }
                function myclose() {
                    var index = parent.layer.getFrameIndex(window.name); //获取当前窗体索引
                    parent.layer.close(index); //执行关闭
                }
    
    
    </script>
 
</body>
</html>